
<!doctype html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><title>Python: module Token</title>
</head><body bgcolor="#f0f0f8">

<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading">
<tr bgcolor="#7799ee">
<td valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial">&nbsp;<br><big><big><strong>Token</strong></big></big></font></td
><td align=right valign=bottom
><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="file:/media/disk-1/data/zdstack/trunk/ZDStack/Token.py">/media/disk-1/data/zdstack/trunk/ZDStack/Token.py</a></font></td></tr></table>
    <p></p>
<p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ee77aa">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big></font></td></tr>
    
<tr><td bgcolor="#ee77aa"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%"><dl>
<dt><font face="helvetica, arial"><a href="Token.html#Token">Token</a>
</font></dt></dl>
 <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="Token">class <strong>Token</strong></a></font></td></tr>
    
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt>Used&nbsp;when&nbsp;parsing&nbsp;player&nbsp;names.<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%">Methods defined here:<br>
<dl><dt><a name="Token-__eq__"><strong>__eq__</strong></a>(self, token)</dt></dl>

<dl><dt><a name="Token-__init__"><strong>__init__</strong></a>(self, contents, opener<font color="#909090">=''</font>, closer<font color="#909090">=''</font>)</dt><dd><tt>Initializes&nbsp;a&nbsp;<a href="#Token">Token</a>&nbsp;instance.<br>
&nbsp;<br>
contents:&nbsp;a&nbsp;string&nbsp;representing&nbsp;the&nbsp;main&nbsp;contents&nbsp;of&nbsp;the&nbsp;<a href="#Token">Token</a><br>
opener:&nbsp;&nbsp;&nbsp;a&nbsp;string&nbsp;representing&nbsp;the&nbsp;opener&nbsp;of&nbsp;a&nbsp;player's&nbsp;tag<br>
closer:&nbsp;&nbsp;&nbsp;a&nbsp;string&nbsp;representing&nbsp;the&nbsp;closer&nbsp;of&nbsp;a&nbsp;player's&nbsp;tag</tt></dd></dl>

<dl><dt><a name="Token-__len__"><strong>__len__</strong></a>(self)</dt></dl>

<dl><dt><a name="Token-__str__"><strong>__str__</strong></a>(self)</dt></dl>

</td></tr></table></td></tr></table>
</body></html>